package entity;

import java.io.Serializable;
import java.util.Date;

public class Employ implements Serializable {
    //属性
    private int ID;//编号
    private String name;//姓名
    private String job;//职位
    private Date date;//入职时间
    private double money;//工资

    public Employ(int ID, String name, String job, Date date, double money) {
        this.ID = ID;
        this.name = name;
        this.job = job;
        this.date = date;
        this.money = money;
    }

    public Employ() {
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
